#!/usr/sbin/rsct/perl5/bin/perl
# IBM_PROLOG_BEGIN_TAG 
# This is an automatically generated prolog. 
#  
#  
#  
# Licensed Materials - Property of IBM 
#  
# (C) COPYRIGHT International Business Machines Corp. 2004 
# All Rights Reserved 
#  
# US Government Users Restricted Rights - Use, duplication or 
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp. 
#  
# IBM_PROLOG_END_TAG 
######################################################################
#                                                                    #
# Module: SensorRMconfig                                             #
#                                                                    #
# Purpose:                                                           #
#   Resource manager IBM.Sensor configuration script. This script is #
#   invoked by RMC after the resource manager has been installed.    #
#                                                                    #
######################################################################
#"@(#)94   1.1   src/rsct/rm/SensorRM/SensorRMconfig.perl, SensorRM, rsct_rzauh, rzauh0431a 1/23/04 16:55:32"

#--------------------------------------------------------------------#
# Variables                                                          #
#--------------------------------------------------------------------#

$CMDDIR = "/usr/sbin/rsct/install/bin";
$ProgName = "ldpdef";
$PdefFileNameCond = "IBM.SensorRMcond.pdef";
$PdefFileNameResp = "IBM.SensorRMresp.pdef";
$PdefFileNameSensor = "IBM.SensorRMsensor.pdef";

#--------------------------------------------------------------------#
# Mainline                                                           #
#--------------------------------------------------------------------#

system "$CMDDIR/$ProgName -c $PdefFileNameCond";
system "$CMDDIR/$ProgName -r $PdefFileNameResp";
system "$CMDDIR/$ProgName -s $PdefFileNameSensor";

exit(0);
